A tough strain of bacteria adapts its DNA to suit life in the lungs of cystic fibrosis patients. The bacterial genome has now been mapped, however, and this could lead to improved treatment in just a few years.